package com.imohoo.shanpao.request;

import com.imohoo.libs.converter.SpRequest;

/**
 * Created by zhaobo on 2017/1/5.
 */
public class ZanRequest extends SpRequest {
    private int action;
    private int page;

    public ZanRequest() {
        addHead("SnsApi", "getUserHitsList");
    }

    public int getAction() {
        return (int) get("action");
    }

    public ZanRequest setAction(int action) {
        add("action", action);
        return this;
    }

    public int getPage() {
        return (int) get("page");
    }

    public ZanRequest setPage(int page) {
        add("page", page);
        return this;
    }
}
